Skip to main content

Remote APIs

Public Header

Public Request Header

ParameterDescription             FormatRemark
participantIdIdentifies the financial institution that owns the account for which transactions are to be retrieved from history. This value must represent a valid value defined in the EASTPAY system. The valid values are dependent on the environment and must be at the time the interface is built. A response code of 01 is returned if this value is not present, is blank, or is not defined in the EASTPAY fileString, Maximum 15 charactersRequired
tranBranchTransaction branchString, Maximum 6 charactersRequired
tranChnlTransaction channelString ,2 charactersRequired
tranCodeTransaction codeString, Maximum 30 charactersOptional
tranDateTransaction date8 charactersRequired
tranTimeTransaction time6 charactersRequired
tranIdTransaction serial numberString, Maximum 32 charactersRequired
tellerNoThe ID of the teller who  initiated the transactionString, Maximum 32 charactersOptional
terminalNoThe ID of the terminal which initiated the transactionString, Maximum15 charactersOptional

Public Response Header

ParameterDescription             FormatRemark
participantIdIdentifies the financial institution that owns the account for which transactions are to be retrieved from history. This value must represent a valid value defined in the EASTPAY system. The valid values are dependent on the environment and must be at the time the interface is built. A response code of 01 is returned if this value is not present, is blank, or is not defined in the EASTPAY fileString, Maximum 15 charactersRequired
tranBranchTransaction branchString, Maximum 6 charactersRequired
tranChnlTransaction channelString ,2 charactersRequired
tranCodeTransaction codeString, Maximum 30 charactersOptional
tranDateTransaction date8 charactersRequired
tranTimeTransaction time6 charactersRequired
tranIdTransaction serial numberString, Maximum 32 charactersRequired
tellerNoThe ID of the teller who  initiated the transactionString, Maximum 32 charactersOptional
terminalNoThe ID of the terminal which initiated the transactionString, Maximum15 charactersOptional
responseCodeIdentifies the success or failure of the web service call. Valid values:
00 Successful
01 Invalid participant
02 Invalid CIF
03 Invalid CIF/Account status
05 Do not honour
12 Invalid transaction
13 Invalid amount
25 Original transactions not found
30 Invalid message formats
40 Unsupported functions
51 Insufficient funds
57 Transaction not permitted to cardholder
61 Amount limit exceeded
62 Restricted card
64 Original amount does not match
65 Count limit exceeded
91 System error
94 Duplicate transaction
Maximum 20 charactersRequired
reponseDescResponse code descriptionMaximum 120 charactersRequired

Authorization

Authorization Introduction

Below are the main authorization transaction type for reference.

ParameterDebit/CreditDescription             
AuthorizationIncludes authorization for various business Debit Account scenarios such as withdrawals and purchases
Incremental authorizationDebit AccountAssociates an original authorization with “oritranId” , used to increase the amount of an authorization or to extend the expiration date of an authorization.
Original CreditCredit AccountCredit account (Money Send /Fund Transfer)
RefundNAMerchandise return authorization is optional and Eastpay will forward to your system if received.
Account verificationNAUsually is a zero amount authorization
Balance InquiryNARequest for balance information, often the result of a cardholder request at an ATM.

Note: Transaction type is not Transaction code(in public header”. The transaction code is an internal transaction code defined within the EastPay system based on some transaction factors such as the location of the transaction, card product, PAN entry method and so on. For example, intra-region purchase and inter-region purchase were treated as different transaction code in system. Transaction code is used to further break down the cost of service rules or general ledger processing.

Authorization Timeout

alt text

For authorization , incremental authorization and credit authorization , we receive an automatic Authorization Advice from card scheme whenever our response times out, for whatever reason. If authorization advice is received, consider it as the final status of the transaction. We will not initiate any additional reversal/void transactions, so please adjust the balance /accounting treatment (if needed) based on the results of the authorization advice.

Note:
Please treat authorization advice and authorization as two separate transactions; we do not always push authorization before we push authorization advice.

Authorization Message Layout

Request:

Field NameDescription             FormatRequiredRemark
msgChannelMessage Channel usually represents the source of the transaction, which can be a card group or various internal transaction channelsMaximum 10 charactersRequiredCard Scheme: VISA, MASTER, UPI, DINERS, AMEX
On-us: MOBILE, TELLER
tranDescTransaction DescriptionMaximum 60 charactersRequired
tranStatusTransaction StatusMaximum 3 charactersOptionalResponse code (DE39)
cardTokenCard Token NumberMaximum 19 charactersRequired
cardNumberMasked Card NumberMaximum 19 characterRequiredFirst 6 digits and last 4 digits
oritranIdOriginal Transaction IDMaximum 32 charactersConditional
messageTypeMessage Type from card scheme MTI from card scheme, 0100,0200,0220,etcMaximum 4 charactersConditional
schemetranIdTransaction ID from Card SchemeMaximum 36 charactersOptionalIf received from card scheme
settleDateSettlement DateYYYYMMDDOptionalOnly for information ands may not be the actual settle date
tranCurrencyTransaction CurrencyMaximum 3 characterConditional
tranAmountTransaction Amount16,2ConditionalNo transaction amount information for balance inquiry
billCurrencyBill CurrencyMaximum 3 characterConditionalIf received, then forward
billAmountBill Amount16,2ConditionalIf received
settleCurrencySettlement CurrencyMaximum 3 characterConditionalIf received
settleAmountSettlement Amount16,2ConditionalIf received
markupFeeMarkup Fee16,2RequiredMarkup fee calculated by EastPay if configured
acquirerFeeAcquirer Fee16,2ConditionalIf received
reasonCodeReason CodeMaximum 20 charactersOptionalMessage reason code of online authorization
merchantIdMerchant IdMaximum 15 charactersConditionalIf received
merchantNameMerchant NameMaximum 40 charactersRequired
mccMerchant Category CodeMaximum 4 charactersRequired
merchantAddressMerchant AddressMaximum 50 charactersOptional
merchantCityMerchant CityMaximum 25 charactersOptional
merchantStateMerchant StateMaximum 25 charactersOptional
merchantPostalCodeMerchant PostaleMaximum 15 charactersOptional
merchantCountryMerchantntryMaximum 3 charactersOptional
merchantContactMerchant ContactMaximum 25 charactersOptional
merchantUrlMerchant URLMaximum 255 charactersOptional
merchantEmailMerchant emailMaximum 40 charactersOptional
merchantMiscMerchant MiscellaneousMaximum 255 charactersOptionalMiscellaneous information if received, including MVVID ,TAX ID ,…etc
institutionCodeAcquirer Institution CodeMaximum 11 charactersRequired
serviceCountryService CountryMaximum 3 charactersOptional
retReferenceNoRetrieval Reference NumberMaximum 12 charactersConditionalIf received DE37
sysTraceAuditNoSystem Trace Audit NumberMaximum 6 charactersRequired  STAN(DE11)
panEntryModePAN Entry ModeMaximum 2 charactersRequired
pinEntryModePIN Entry ModeMaximum 1 charactersRequired
terminalIdTerminal IdMaximum 8 charactersConditional If received
terminalAttendanceTerminal AttendanceMaximum 1 charactersConditionalIf received
cardholderPresenceCardholder PresenceMaximum 1 charactersConditionalIf received
cardPresence        Card PresenceMaximum 1 charactersConditionalIf received
authenticationMethod  Cardholder Authentication MethodMaximum 10 charactersRequiredAuthentication method of CNP transactions
billAddress   Cardholder bill addressMaximum 40 charactersIf recieved for AVS Conditional verification
billAddressZipcodeZipcode of cardholder bill addressMaximum 9 charactersConditionalIf recieved for AVS verification
networkTokenIdVTS or MDES token IDMaximum 32 charactersConditionalIf received
networkTokenTypeToken typeMaximum 2 charactersConditionalIf received
networkTokenStatusToken status indicatorMaximum 1 charactersConditionalIf received
networkTokenExp     Expiration date of the tokenMaximum 1 charactersConditionalIf received
networkTokenScoreToken risk socreMaximum 2 charactersConditionalIf received
tokenRequestorIdToken Requestor Id assigned by card schemelMaximum 32 charactersConditionalIf recieved
tokenRequestorNameToken Request NameMaximum 32 charactersConditionalIf received
deviceTypeDevice Type                       Maximum 2 charactersConditionalIf received
deviceLanguageLanguage Code   Maximum 3 charactersConditionalIf received
deviceIdDevice Id                        Maximum 48 charactersConditionalIf received
devicePhoneMobile Phone                      Maximum 25 charactersConditionalIf received
deviceNameDevice Name                       Maximum 25 characters Conditional  If received
deviceIPIp addressMaximum 40 characters Conditional  If received
deviceLocationGPS locationMaximum 25 characters Conditional  If received
cvvResponseCVV ResponseMaximum 1 characters Optional CVV match flag from EastPay
avsResultAVS ResultMaximum 1 characters Optional AVS match flag from EastPay
cavvResultCAVV ResultMaximum 1 characters Optional ACS CAVV match flag from Eastpay
dccIndicatorDCC Transaction IndicatorMaximum 1 characters Conditional  If received
isRecurringIs RecurringMaximum 1 characters Conditional  If received
additionDataAddition DataMaximum 999 characters Optional Additional information from initiator
moneySendDataMastercard Money Send InformationMaximum 999 characters Optional Mastercard Money send transaction information
approvalCodeApproval Codemaximum 6 Optional Approval code generated by EastPay for successful transaction
acctNumberLinked Account NumberMaximum 25 characters Conditional  If configured in EastPay system
acctCurrencyLinked Account CurrencyMaximum 3 characters Conditional  If configured in EastPay system
customerIdCustomer unique IDMaximum 32 characters Optional 
feeAmtFee AmountNumber 16,2OptionalTransaction Fee calculated by EastPay if configured
tranScoreTransaction score from Visa or MastercardMaximum 32 charactersConditionalIf received
acctScoreCompromised Account RiskMaximum 3 charactersConditionalIf received
cardProdCodeCard Product CodeMaximum 4 characters Optional 

Response:

Field NameDescription             FormatRequiredRemark
coretranIdUnique transaction id in your systemMaximum 64 charactersRequiredFor recon purpose
errorCodeError Code in your systemMaximum 20 charactersConditionalEastPay will use your errorCode to map to scheme’s response code if needed
errorDescError DescriptionMaximum 30 charactersConditional
acctBalanceAccount balanceNumber 16,2ConditionalRequired for balance inquiry and ATM withdrawnsaction
avaiBalanceAvailable balanceNumber 16,2ConditionalRequired for balance inquiry and ATM withdrawnsaction
blockBalanceBlock balanceNumber 16,2Optional
acctCurrencyAccount CurrencyMaximum 3 charactersConditionalRequired for balance inquiry and ATM withdrawnsaction
adviceCodeMerchant Advice CodeMaximum 2 charactersOptional

Authorization Advice

Authorization Advice Introduction

All card scheme stand-in transactions are sent via an authorization advice, such as the

  1. Card scheme’s positive/negative stand-in authorization
  2. Transactions declined directly on EastPay according to the rules set by the card issuer.
  3. Advice triggered because no response was given to the card group due to timeout or error in our system.

Our system will try to match the authorization advice with the original authorization, we will send the authorization’s TranId in oriTranId filed of authorization advice if matched.

Authorization Advice Message Layout

Request:

Field NameDescription             FormatRequiredRemark
msgChannelMessage Channel usually represents the source of the transaction, which can be a card group or various internal transaction channels such as mobile banking, over-the-counter, etc.Maximum 10 charactersRequiredCard Scheme: VISA, MASTER, UPI, DINERS, AMEX
On-us: MOBILE, TELLER
tranTypeTransaction Type charactersMaximum 30 charactersRequiredC: withdraw
D: Credit
E: Enquiry
G: Purchase
H: Refund
R: Account Verification
tranDescTransaction DescriptionMaximum 60 charactersRequired
tranStatusTransaction StatusMaximum 3 charactersOptionalResponse code (DE39)
cardTokenCard Token NumberMaximum 19 charactersRequired
cardNumberMasked Card NumberMaximum 19 characterRequiredFirst 6 digits and last 4 digits
oritranIdOriginal Transaction IDMaximum 32 charactersConditional
messageTypeMessage Type from card scheme MTI from card scheme, 0100,0200,0220,etcMaximum 4 charactersConditional
schemetranIdTransaction ID from Card SchemeMaximum 36 charactersOptionalIf received from card scheme
settleDateSettlement DateYYYYMMDDOptionalOnly for information ands may not be the actual settle date
amountDrCrDebit or Credit indicator Valid Value:
D = debit
C= credit
Maximum 1 characterConditionalIf transaction amount appears
tranCurrencyTransaction CurrencyMaximum 3 characterConditional
tranAmountTransaction Amount16,2ConditionalNo transaction amount information for balance inquiry
billCurrencyBill CurrencyMaximum 3 characterConditionalIf received, then forward
billAmountBill Amount16,2ConditionalIf received
settleCurrencySettlement CurrencyMaximum 3 characterConditionalIf received
settleAmountSettlement Amount16,2ConditionalIf received
markupFeeMarkup Fee16,2RequiredMarkup fee calculated by EastPay if configured
acquirerFeeAcquirer Fee16,2ConditionalIf received
reasonCodeReason CodeMaximum 20 charactersOptionalMessage reason code of online authorization
merchantIdMerchant IdMaximum 15 charactersConditionalIf received
merchantNameMerchant NameMaximum 40 charactersRequired
mccMerchant Category CodeMaximum 4 charactersRequired
merchantAddressMerchant AddressMaximum 50 charactersOptional
merchantCityMerchant CityMaximum 25 charactersOptional
merchantStateMerchant StateMaximum 25 charactersOptional
merchantPostalCodeMerchant PostaleMaximum 15 charactersOptional
merchantCountryMerchantntryMaximum 3 charactersOptional
merchantContactMerchant ContactMaximum 25 charactersOptional
merchantUrlMerchant URLMaximum 255 charactersOptional
merchantEmailMerchant emailMaximum 40 charactersOptional
merchantMiscMerchant MiscellaneousMaximum 255 charactersOptionalMiscellaneous information if received, including MVVID ,TAX ID ,…etc
institutionCodeAcquirer Institution CodeMaximum 11 charactersRequired
serviceCountryService CountryMaximum 3 charactersOptional
retReferenceNoRetrieval Reference NumberMaximum 12 charactersConditionalIf received DE37
sysTraceAuditNoSystem Trace Audit NumberMaximum 6 charactersRequired  STAN(DE11)
panEntryModePAN Entry ModeMaximum 2 charactersRequired
pinEntryModePIN Entry ModeMaximum 1 charactersRequired
terminalIdTerminal IdMaximum 8 charactersConditional If received
terminalAttendanceTerminal AttendanceMaximum 1 charactersConditionalIf received
cardholderPresenceCardholder PresenceMaximum 1 charactersConditionalIf received
cardPresence        Card PresenceMaximum 1 charactersConditionalIf received
authenticationMethod  Cardholder Authentication MethodMaximum 10 charactersRequiredAuthentication method of CNP transactions
billAddress   Cardholder bill addressMaximum 40 charactersIf recieved for AVS Conditional verification
billAddressZipcodeZipcode of cardholder bill addressMaximum 9 charactersConditionalIf recieved for AVS verification
networkTokenIdVTS or MDES token IDMaximum 32 charactersConditionalIf received
networkTokenTypeToken typeMaximum 2 charactersConditionalIf received
networkTokenStatusToken status indicatorMaximum 1 charactersConditionalIf received
networkTokenExp     Expiration date of the tokenMaximum 1 charactersConditionalIf received
networkTokenScoreToken risk socreMaximum 2 charactersConditionalIf received
tokenRequestorIdToken Requestor Id assigned by card schemelMaximum 32 charactersConditionalIf recieved
tokenRequestorNameToken Request NameMaximum 32 charactersConditionalIf received
deviceTypeDevice Type                       Maximum 2 charactersConditionalIf received
deviceLanguageLanguage Code   Maximum 3 charactersConditionalIf received
deviceIdDevice Id                        Maximum 48 charactersConditionalIf received
devicePhoneMobile Phone                      Maximum 25 charactersConditionalIf received
deviceNameDevice Name                       Maximum 25 characters Conditional  If received
deviceIPIp addressMaximum 40 characters Conditional  If received
deviceLocationGPS locationMaximum 25 characters Conditional  If received
cvvResponseCVV ResponseMaximum 1 characters Optional CVV match flag from EastPay
avsResultAVS ResultMaximum 1 characters Optional AVS match flag from EastPay
cavvResultCAVV ResultMaximum 1 characters Optional ACS CAVV match flag from Eastpay
dccIndicatorDCC Transaction IndicatorMaximum 1 characters Conditional  If received
isRecurringIs RecurringMaximum 1 characters Conditional  If received
additionDataAddition DataMaximum 999 characters Optional Additional information from initiator
moneySendDataMastercard Money Send InformationMaximum 999 characters Optional Mastercard Money send transaction information
approvalCodeApproval Codemaximum 6 Optional Approval code generated by EastPay for successful transaction
acctNumberLinked Account NumberMaximum 25 characters Conditional  If configured in EastPay system
acctCurrencyLinked Account CurrencyMaximum 3 characters Conditional  If configured in EastPay system
customerIdCustomer unique IDMaximum 32 characters Optional 
feeAmtFee AmountNumber 16,2OptionalTransaction Fee calculated by EastPay if configured
tranScoreTransaction score from Visa or MastercardMaximum 32 charactersConditionalIf received
acctScoreCompromised Account RiskMaximum 3 charactersConditionalIf received
cardProdCodeCard Product CodeMaximum 4 characters Optional 

Response: None, only response public header.

Reversal Message

Reversal Introduction

Reversal transactions are usually triggered automatically due to a system timeout or system error. And sometime it is initiated by the cardholder or merchant for purchase cancellation. It can be associated with the original authorization using oritranId, but the amount may be the same as the original authorization or only partial.

Reversal Message Layout

Request:

Field NameDescription             FormatRequiredRemark
msgChannelMessage Channel usually represents the source of the transaction, which can be a card group or various internal transaction channelsMaximum 10 charactersRequiredCard Scheme: VISA, MASTER, UPI, DINERS, AMEX
On-us: MOBILE, TELLER
tranTypeTransaction Type charactersMaximum 30 charactersRequiredC: withdraw
D: Credit
E: Enquiry
G: Purchase
H: Refund
R: Account Verification
tranDescTransaction DescriptionMaximum 60 charactersRequired
tranStatusTransaction StatusMaximum 3 charactersOptionalResponse code (DE39)
cardTokenCard Token NumberMaximum 19 charactersRequired
cardNumberMasked Card NumberMaximum 19 characterRequiredFirst 6 digits and last 4 digits
oritranIdOriginal Transaction IDMaximum 32 charactersConditional
messageTypeMessage Type from card scheme MTI from card scheme, 0100,0200,0220,etcMaximum 4 charactersConditional
settleDateSettlement DateYYYYMMDDOptionalOnly for information ands may not be the actual settle date
tranCurrencyTransaction CurrencyMaximum 3 characterRequired
tranAmountTransaction Amount16,2RequiredNo transaction amount information for balance inquiry
billCurrencyBill CurrencyMaximum 3 characterRequiredIf received, then forward
billAmountBill Amount16,2RequiredIf received
settleCurrencySettlement CurrencyMaximum 3 characterRequiredIf received
settleAmountSettlement Amount16,2RequiredIf received
interchangeFeeInterchange Fee16,2RequiredIf received
otherFeeOther Fee16,2ConditionalIf received
merchantIdMerchant IdMaximum 15 charactersConditionalIf received
merchantNameMerchant NameMaximum 40 charactersRequired
mccMerchant Category CodeMaximum 4 charactersRequired
merchantAddressMerchant AddressMaximum 50 charactersOptional
merchantCityMerchant CityMaximum 25 charactersOptional
merchantStateMerchant StateMaximum 25 charactersOptional
merchantPostalCodeMerchant PostaleMaximum 15 charactersOptional
merchantCountryMerchantntryMaximum 3 charactersOptional
merchantContactMerchant ContactMaximum 25 charactersOptional
merchantUrlMerchant URLMaximum 255 charactersOptional
merchantEmailMerchant emailMaximum 40 charactersOptional
merchantMiscMerchant MiscellaneousMaximum 255 charactersOptionalMiscellaneous information if received, including MVVID ,TAX ID ,…etc
institutionCodeAcquirer Institution CodeMaximum 11 charactersRequired
serviceCountryService CountryMaximum 3 charactersOptional
retReferenceNoRetrieval Reference NumberMaximum 12 charactersConditionalIf received DE37
sysTraceAuditNoSystem Trace Audit NumberMaximum 6 charactersRequired  STAN(DE11)
retReferenceNoRetrieval Reference NumberMaximum 12 charactersConditionalIf received DE37
sysTraceAuditNoSystem Trace Audit NumberMaximum 6 charactersRequiredSTAN(DE11)
terminalIdTerminal IdMaximum 8 charactersConditionalIf received
additionDataAddition DataMaximum 999 charactersOptionalAdditional information from initiator
arnAcquirer reference number/dataMaximum 23 charactersRequired
rvslIndicatorReversal IndicatorMaximum 1 characterConditionalR:reversal
partialIndicatorPartial Settlement IndicatorMaximum 1 characterConditional0:Full
1:Partial
reasonCodereasonCodeMaximum 20 charactersConditionalIf received
approvalCodeApproval Codemaximum 6 Optional Approval code generated by EastPay for successful transaction
acctNumberLinked Account NumberMaximum 25 characters Conditional  If configured in EastPay system
acctCurrencyLinked Account CurrencyMaximum 3 characters Conditional  If configured in EastPay system
customerIdCustomer unique IDMaximum 32 characters Optional 
feeAmtFee AmountNumber 16,2OptionalTransaction Fee calculated by EastPay if configured
cardProdCodeCard Product CodeMaximum 4 characters Optional 

Response:

Note: Visa and Discover do not allow failure response, the response to a reversal transaction must be successful.

Field NameDescription             FormatRequiredRemark
coretranIdUnique transaction id in your systemMaximum 64 charactersRequiredFor recon purpose
errorCodeError Code in your systemMaximum 20 charactersOptionalEastPay will use your errorCode to map to scheme’s response code if needed
errorDescError DescriptionMaximum 30 charactersOptional
acctBalanceAccount balanceNumber 16,2Optional
avaiBalanceAvailable balanceNumber 16,2Optional
blockBalanceBlock balanceNumber 16,2Optional
acctCurrencyAccount CurrencyMaximum 3 charactersOptional

Capture ( Optional )

Capture Introduction

If there was an authorzation before the capture, then oritranId in the capture request is the transaction id of the authorized transaction. If the acquirer cancel the capture, then EastPay sends another capture to your system, where the oritranId is unchanged but the rvslIndicator will be “R”.
It can happen that an authorization receives multiple captures or that an authorization remains uncaptured until the authorization expires.

Capture Message Layout

Request:

Field NameDescription             FormatRequiredRemark
msgChannelMessage Channel usually represents the source of the transaction, which can be a card group or various internal transaction channelsMaximum 10 charactersRequiredCard Scheme: VISA, MASTER, UPI, DINERS, AMEX
On-us: MOBILE, TELLER
tranTypeTransaction Type charactersMaximum 30 charactersRequiredC: withdraw
D: Credit
E: Enquiry
G: Purchase
H: Refund
R: Account Verification
tranDescTransaction DescriptionMaximum 60 charactersRequired
cardTokenCard Token NumberMaximum 19 charactersRequired
cardNumberMasked Card NumberMaximum 19 characterRequiredFirst 6 digits and last 4 digits
oritranIdOriginal Transaction IDMaximum 32 charactersConditional
messageTypeMessage Type from card scheme MTI from card scheme, 0100,0200,0220,etcMaximum 4 charactersConditional
settleDateSettlement DateYYYYMMDDOptional
amountDrCrDebit or Credit indicator Valid Value:
D = debit
C= credit
Maximum 1 characterConditionalIf transaction amount appears
tranCurrencyTransaction CurrencyMaximum 3 characterRequired
tranAmountTransaction Amount16,2RequiredNo transaction amount information for balance inquiry
billCurrencyBill CurrencyMaximum 3 characterRequiredIf received, then forward
billAmountBill Amount16,2RequiredIf received
settleCurrencySettlement CurrencyMaximum 3 characterRequiredIf received
settleAmountSettlement Amount16,2RequiredIf received
interchangeFeeInterchange Fee16,2RequiredIf received
otherFeeOther Fee16,2ConditionalIf received
merchantIdMerchant IdMaximum 15 charactersConditionalIf received
merchantNameMerchant NameMaximum 40 charactersRequired
mccMerchant Category CodeMaximum 4 charactersRequired
merchantAddressMerchant AddressMaximum 50 charactersOptional
merchantCityMerchant CityMaximum 25 charactersOptional
merchantStateMerchant StateMaximum 25 charactersOptional
merchantPostalCodeMerchant PostaleMaximum 15 charactersOptional
merchantCountryMerchantntryMaximum 3 charactersOptional
merchantContactMerchant ContactMaximum 25 charactersOptional
merchantUrlMerchant URLMaximum 255 charactersOptional
merchantEmailMerchant emailMaximum 40 charactersOptional
merchantMiscMerchant MiscellaneousMaximum 255 charactersOptionalMiscellaneous information if received, including MVVID ,TAX ID ,…etc
institutionCodeAcquirer Institution CodeMaximum 11 charactersRequired
serviceCountryService CountryMaximum 3 charactersOptional
retReferenceNoRetrieval Reference NumberMaximum 12 charactersConditionalIf received DE37
sysTraceAuditNoSystem Trace Audit NumberMaximum 6 charactersRequired  STAN(DE11)
terminalIdTerminal IdMaximum 8 charactersConditional If received
additionDataAddition DataMaximum 999 charactersOptionalAdditional information from initiator
arnAcquirer reference number/dataMaximum 23 charactersRequired
rvslIndicatorReversal IndicatorMaximum 1 characterConditionalR:reversal
partialIndicatorPartial Settlement IndicatorMaximum 1 characterConditional0:Full
1:Partial
reasonCodereasonCodeMaximum 20 charactersConditionalIf received
approvalCodeApproval Codemaximum 6 Optional Approval code generated by EastPay for successful transaction
acctNumberLinked Account NumberMaximum 25 characters Conditional  If configured in EastPay system
acctCurrencyLinked Account CurrencyMaximum 3 characters Conditional  If configured in EastPay system
customerIdCustomer unique IDMaximum 32 characters Optional 
feeAmtFee AmountNumber 16,2OptionalTransaction Fee calculated by EastPay if configured
cardProdCodeCard Product CodeMaximum 4 characters Optional 

Response:

Field NameDescription             FormatRequiredRemark

Dispute (Chargeback) (Optional)

Dispute (Chargeback) Message Layout

Request:

Field NameDescription             FormatRequiredRemark
msgChannelMessage Channel usually represents the source of the transaction, which can be a card group or various internal transaction channelsMaximum 10 charactersRequiredCard Scheme: VISA, MASTER, UPI, DINERS, AMEX
On-us: MOBILE, TELLER
tranTypeTransaction Type charactersMaximum 30 charactersRequiredC: withdraw
D: Credit
E: Enquiry
G: Purchase
H: Refund
R: Account Verification
tranDescTransaction DescriptionMaximum 60 charactersRequired
cardTokenCard Token NumberMaximum 19 charactersRequired
cardNumberMasked Card NumberMaximum 19 characterRequiredFirst 6 digits and last 4 digits
oritranIdOriginal Transaction IDMaximum 32 charactersRequiredOriginal Authorization transaction id
settleDateSettlement DateYYYYMMDDOptional
tranCurrencyTransaction CurrencyMaximum 3 characterRequiredDispute/Chargeback amount currency
tranAmountTransaction Amount16,2RequiredDispute/Chargeback Amount
billCurrencyBill CurrencyMaximum 3 characterRequiredIf received, then forward
billAmountBill Amount16,2RequiredIf received
settleCurrencySettlement CurrencyMaximum 3 characterRequiredIf received
settleAmountSettlement Amount16,2RequiredIf received
interchangeFeeInterchange Fee16,2RequiredIf received
otherFeeOther Fee16,2ConditionalIf received
merchantIdMerchant IdMaximum 15 charactersConditionalIf received
merchantNameMerchant NameMaximum 40 charactersRequired
mccMerchant Category CodeMaximum 4 charactersRequired
merchantAddressMerchant AddressMaximum 50 charactersOptional
merchantCityMerchant CityMaximum 25 charactersOptional
merchantStateMerchant StateMaximum 25 charactersOptional
merchantPostalCodeMerchant PostaleMaximum 15 charactersOptional
merchantCountryMerchantntryMaximum 3 charactersOptional
merchantContactMerchant ContactMaximum 25 charactersOptional
merchantUrlMerchant URLMaximum 255 charactersOptional
merchantEmailMerchant emailMaximum 40 charactersOptional
merchantMiscMerchant MiscellaneousMaximum 255 charactersOptionalMiscellaneous information if received, including MVVID ,TAX ID ,…etc
institutionCodeAcquirer Institution CodeMaximum 11 charactersRequired
serviceCountryService CountryMaximum 3 charactersOptional
retReferenceNoRetrieval Reference NumberMaximum 12 charactersConditionalIf received DE37
sysTraceAuditNoSystem Trace Audit NumberMaximum 6 charactersRequired  STAN(DE11)
terminalIdTerminal IdMaximum 8 charactersConditional If received
additionDataAddition DataMaximum 999 charactersOptionalAdditional information from initiator
arnAcquirer reference number/dataMaximum 23 charactersRequired
disputeIdChargeback Reference ID / Dispute Case IDMaximum 20 charactersRequired
disputeReasonDispute / Chargeback reasonMaximum 20 charactersRequired
rvslIndicatorReversal IndicatorMaximum 1 characterConditionalR:reversal
reasonCodereasonCodeMaximum 20 charactersConditionalIf received
approvalCodeApproval Codemaximum 6 Optional Approval code generated by EastPay for successful transaction
acctNumberLinked Account NumberMaximum 25 characters Conditional  If configured in EastPay system
acctCurrencyLinked Account CurrencyMaximum 3 characters Conditional  If configured in EastPay system
customerIdCustomer unique IDMaximum 32 characters Optional 
feeAmtFee AmountNumber 16,2OptionalDispute/Chargeback Fee calculated by EastPay if configured
cardProdCodeCard Product CodeMaximum 4 characters Optional 

Response:

None, only response public header.

Retrieve Transaction

Retrieve Transaction Introduction

Retrieve Transaction is for your system to retrieve the authorization transaction detail and clearing transaction detail.

Message Layout

Request:

Field NameDescription             FormatRequiredRemark
oritranIdOriginal Transaction IDMaximum 32 charactersConditional
arnAcquirer reference number/dataMaximum 23 charactersRequired

Filling in either of the oritranId and ARN will work. If both are present but do not match, you will receive an error message. If your put oritranId in request , the response will include the authorization information and clearing information if captured and dispute information if have .
If you only put arn in request , the response will include the clearing detail and dispute information related the arn.

Response:

Field NameDescriptionFormatM/O
recordNumRecord NumberMaximum 8 characterRequired
recordListeach element is a complex element that includes the following sub-elements:

Sub-element :

Field NameDescription             FormatRequiredRemark
msgChannelMessage Channel usually represents the source of the transaction, which can be a card group or various internal transaction channelsMaximum 10 charactersRequired
tranTypeTransaction Type charactersMaximum 30 charactersRequiredC: withdraw
D: Credit
E: Enquiry
G: Purchase
H: Refund
R: Account Verification
tranDescTransaction DescriptionMaximum 60 charactersRequired
tranStatusTransaction StatusMaximum 3 charactersOptionalResponse code (DE39)
cardTokenCard Token NumberMaximum 19 charactersRequired
cardNumberMasked Card NumberMaximum 19 characterRequiredFirst 6 digits and last 4 digits
oritranIdOriginal Transaction IDMaximum 32 charactersConditional
arnAcquirer reference number/dataMaximum 23 charactersConditional
disputeIdChargeback Reference ID / Dispute Case IDMaximum 20 charactersRequired
disputeReasonDispute / Chargeback reasonMaximum 20 charactersRequired
rvslIndicatorReversal IndicatorMaximum 1 characterConditionalR:reversal
reasonCodereasonCodeMaximum 20 charactersConditionalIf received
settleDateSettlement DateYYYYMMDDOptional
tranCurrencyTransaction CurrencyMaximum 3 characterConditional
tranAmountTransaction Amount16,2ConditionalNo transaction amount information for balance inquiry
billCurrencyBill CurrencyMaximum 3 characterConditionalIf received, then forward
billAmountBill Amount16,2ConditionalIf received
settleCurrencySettlement CurrencyMaximum 3 characterConditionalIf received
settleAmountSettlement Amount16,2ConditionalIf received
markupFeeMarkup Fee16,2RequiredMarkup fee calculated by EastPay if configured
acquirerFeeAcquirer Fee16,2ConditionalIf received
interchangeFeeInterchange Fee16,2ConditionalIf received
merchantIdMerchant IdMaximum 15 charactersConditionalIf received
merchantNameMerchant NameMaximum 40 charactersRequired
mccMerchant Category CodeMaximum 4 charactersRequired
merchantAddressMerchant AddressMaximum 50 charactersOptional
merchantCityMerchant CityMaximum 25 charactersOptional
merchantStateMerchant StateMaximum 25 charactersOptional
merchantPostalCodeMerchant PostaleMaximum 15 charactersOptional
merchantCountryMerchantntryMaximum 3 charactersOptional
merchantContactMerchant ContactMaximum 25 charactersOptional
merchantUrlMerchant URLMaximum 255 charactersOptional
merchantEmailMerchant emailMaximum 40 charactersOptional
merchantMiscMerchant MiscellaneousMaximum 255 charactersOptionalMiscellaneous information if received, including MVVID ,TAX ID ,…etc
institutionCodeAcquirer Institution CodeMaximum 11 charactersRequired
serviceCountryService CountryMaximum 3 charactersOptional
retReferenceNoRetrieval Reference NumberMaximum 12 charactersConditionalIf received DE37
sysTraceAuditNoSystem Trace Audit NumberMaximum 6 charactersRequired  STAN(DE11)
panEntryModePAN Entry ModeMaximum 2 charactersRequired
pinEntryModePIN Entry ModeMaximum 1 charactersRequired
terminalIdTerminal IdMaximum 8 charactersConditional If received
terminalAttendanceTerminal AttendanceMaximum 1 charactersConditionalIf received
cardholderPresenceCardholder PresenceMaximum 1 charactersConditionalIf received
cardPresence        Card PresenceMaximum 1 charactersConditionalIf received
authenticationMethod  Cardholder Authentication MethodMaximum 10 charactersRequiredAuthentication method of CNP transactions
billAddress   Cardholder bill addressMaximum 40 charactersConditionalIf recieved for AVS verification
billAddressZipcodeZipcode of cardholder bill addressMaximum 9 charactersConditionalIf recieved for AVS verification
networkTokenIdVTS or MDES token IDMaximum 32 charactersConditionalIf received
networkTokenTypeToken typeMaximum 2 charactersConditionalIf received
networkTokenStatusToken status indicatorMaximum 1 charactersConditionalIf received
networkTokenExp     Expiration date of the tokenMaximum 1 charactersConditionalIf received
networkTokenScoreToken risk socreMaximum 2 charactersConditionalIf received
tokenRequestorIdToken Requestor Id assigned by card schemelMaximum 32 charactersConditionalIf recieved
tokenRequestorNameToken Request NameMaximum 32 charactersConditionalIf received
deviceTypeDevice Type                       Maximum 2 charactersConditionalIf received
deviceLanguageLanguage Code   Maximum 3 charactersConditionalIf received
deviceIdDevice Id                        Maximum 48 charactersConditionalIf received
devicePhoneMobile Phone                      Maximum 25 charactersConditionalIf received
deviceNameDevice Name                       Maximum 25 characters Conditional  If received
deviceIPIp addressMaximum 40 characters Conditional  If received
deviceLocationGPS locationMaximum 25 characters Conditional  If received
cvvResponseCVV ResponseMaximum 1 characters Optional CVV match flag from EastPay
avsResultAVS ResultMaximum 1 characters Optional AVS match flag from EastPay
dccIndicatorDCC Transaction IndicatorMaximum 1 characters Conditional  If received
isRecurringIs RecurringMaximum 1 characters Conditional  If received
additionDataAddition DataMaximum 999 characters Optional Additional information from initiator
moneySendDataMastercard Money Send InformationMaximum 999 characters Optional Mastercard Money send transaction information
approvalCodeApproval Codemaximum 6 Optional Approval code generated by EastPay for successful transaction
acctNumberLinked Account NumberMaximum 25 characters Conditional  If configured in EastPay system
acctCurrencyLinked Account CurrencyMaximum 3 characters Conditional  If configured in EastPay system
customerIdCustomer unique IDMaximum 32 characters Optional 
feeAmtFee AmountNumber 16,2OptionalTransaction Fee calculated by EastPay if configured
tranScoreTransaction score from Visa or MastercardMaximum 32 charactersConditionalIf received
acctScoreCompromised Account RiskMaximum 3 charactersConditionalIf received
cardProdCodeCard Product CodeMaximum 4 characters Optional